package com.peng.sta.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-user")
public interface UserClient {
    //根据日期统计当天注册人数
    @GetMapping("/ucenter/member/getRegisterCount/{day}")
    public int getRegisterCount(@PathVariable("day") String day);
}
